package com.hua.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hua
 * @since 2023-12-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Food implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜品ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜品名称
     */
    private String title;

    /**
     * 图片URL
     */
    @TableField("imageUrl")
    private String imageUrl;

    /**
     * 菜品价格
     */
    private BigDecimal price;

    /**
     * 所属菜品类别ID
     */
    private Integer foodClassId;

    /**
     * 所属饭堂ID
     */
    private Integer canteenId;

    /**
     * 评分
     */
    private Integer comment;

    /**
     * 出菜时间，例如1/2/3分别表示早中晚,或者1/3,早餐和晚餐也有
     */
    private String time;

    /**
     * 标签
     */
    private String tags;


    /**
     * 菜品解释说明
     */
    private  String description;




}
